<div class="paidUsers view">
<h2><?php echo __('Paid User'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($paidUser['PaidUser']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Username'); ?></dt>
		<dd>
			<?php echo h($paidUser['PaidUser']['username']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Password'); ?></dt>
		<dd>
			<?php echo h($paidUser['PaidUser']['password']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Email'); ?></dt>
		<dd>
			<?php echo h($paidUser['PaidUser']['email']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Paid User'), array('action' => 'edit', $paidUser['PaidUser']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Paid User'), array('action' => 'delete', $paidUser['PaidUser']['id']), null, __('Are you sure you want to delete # %s?', $paidUser['PaidUser']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Paid Users'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Paid User'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Paid Ads'), array('controller' => 'paid_ads', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Paid Ad'), array('controller' => 'paid_ads', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Paid Ads'); ?></h3>
	<?php if (!empty($paidUser['PaidAd'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Title'); ?></th>
		<th><?php echo __('Banner'); ?></th>
		<th><?php echo __('Position'); ?></th>
		<th><?php echo __('Paid User Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($paidUser['PaidAd'] as $paidAd): ?>
		<tr>
			<td><?php echo $paidAd['id']; ?></td>
			<td><?php echo $paidAd['title']; ?></td>
			<td><?php echo $paidAd['banner']; ?></td>
			<td><?php echo $paidAd['position']; ?></td>
			<td><?php echo $paidAd['paid_user_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'paid_ads', 'action' => 'view', $paidAd['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'paid_ads', 'action' => 'edit', $paidAd['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'paid_ads', 'action' => 'delete', $paidAd['id']), null, __('Are you sure you want to delete # %s?', $paidAd['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Paid Ad'), array('controller' => 'paid_ads', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
